/**
 * @author Guoxing.Han(hancoson#163.com)
 * @time 2016/12/29.
 */
import React from 'react' // 引入react
import { Route, IndexRoute } from 'react-router' // 引入react路由

import App from './../page/app'
import Home from './../page/home'
import PrivilegeWhite from './../page/privilegeWhite'
import PrivilegeWhiteDetail from './../page/privilegeWhiteDetail'

export default (
    <Route path="/" component={App}>
        <IndexRoute component={Home}/>
        <Route path="privilegeWhite" component={PrivilegeWhite}/>
        <Route path="privilegeWhiteDetail" component={PrivilegeWhiteDetail}/>
    </Route>
)